<template>
    <div>
        地图web api 页面测试
    </div>
</template>

<script>
import * as baiduWebApi from '@/util/map/mapBaiduWebApi'
import * as gaodeWebApi from '@/util/map/mapGaodeWebApi'
export default {
    name: 'getRoadLimitSpeed',
    components: {  },
    data () {
        return {

        };
    },

    computed: {

    },

    async mounted() {
        // let result = await baiduWebApi.getLatLngByAddressOrderInBaidu('万达广场')
        // let result = await baiduWebApi.getAddressByLatLngOrderInBaidu({ latlng: '31.225696563611,121.49884033194', coordtype: 'wgs84ll' })
        // let result = await baiduWebApi.getCurrentRoadInfo([{"height":1,"loc_time":1556162073,"coord_type_input":"bd09ll","latitude":39.950124,"longitude":115.799985}])

        // let result = await gaodeWebApi.getUserAddressByIP('101.37.163.185')

        let result = await gaodeWebApi.getCityWeatherBorderGaode('杭州市')

        console.log('result', result)
    },

    methods: {

    }
}

</script>

<style lang='scss' scoped>

</style>